home *** CD-ROM | disk | FTP | other *** search
- from PSPApp import *
-
- def ScriptProperties():
- return {
- 'Author': u'Corel Corporation',
- 'Copyright': u'Copyright (c) 2003-2004 Corel Corporation All rights reserved.',
- 'Description': '',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_NewFile():
- return {
- 'Width': 3.500000,
- 'Height': 5.000000,
- 'ColorDepth': App.Constants.Colordepth.SixteenMillionColor,
- 'DimensionUnits': App.Constants.DimensionType.Inches,
- 'ResolutionUnits': App.Constants.ResolutionUnits.PixelsPerIn,
- 'Resolution': 300.000000,
- 'Transparent': App.Constants.Boolean.true,
- 'VectorBackground': App.Constants.Boolean.false
- }
-
- def Do(Environment):
- App.Do( Environment, 'NewFile', Preset_NewFile())
-
-